/**
*  FractionTester class to test Fraction class
*/

class FractionTester {
	public static void main(String[] args) {
		Fraction f1 = new Fraction(1, 2);
		Fraction f2 = new Fraction(3, 5);
		
		Fraction f3 = f1.add(f2);
		System.out.println("Addition Result: " + f3.getNumerator() + "/" + f3.getDenominator());

		Fraction f4 = f1.sub(f2);
		System.out.println("Substraction Result: " + f4.getNumerator() + "/" + f4.getDenominator());
	}
}
